jupyter notebook 500 Internal Server Error 问题

jupyter notebook 500 : Internal Server Error 问题

问题 jupyter notebook 正常启动却无法打开.ipynb

出现这个问题的起因在于我安装 jupyter_contrib_nbextensions之后

1
2
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user --skip-running-check

但是nbextensions并没有起作用之后运行.ipynb 就报500

首先uninstall jupyter_contrib_nbextensions仍然报错

AttributeError: module 'tornado.web' has no attribute 'asynchronous'

原来tornado6以后就弃用了tornado.web.asynchronous这种写法了

将tornado版本降为5.1.1

conda install tornado=5.1.1

重装jupyter conda install jupyter

但是在随意执行一行代码又报错:服务似乎挂掉了,但是会立刻重启的

log显示 Intel MKL FATAL ERROR: Cannot load libmkl_intel_thread.dylib.

image-20200601195827250

执行 conda install nomkl numpy scipy scikit-learn numexpr

成功解决问题

相关问题:

jupyter出现Intel MKL FATAL ERROR: Cannot load libmkl_intel_thread.dylib的解决办法

500 : Internal Server Error(jupyter)